package sk.naive.talker.persistence;

/**
 *
 * @author <a href="mailto:virgo@naive.deepblue.sk">Richard "Virgo" Richter</a>
 * @version $Revision: 1.5 $ $Date: 2005/02/16 19:27:21 $
 */
public interface ObjectPersistence {
	public Integer create(int type) throws PersistenceException;

	public void remove(Integer id) throws PersistenceException;

	Integer objectId(int type, String namingProperty, String name) throws PersistenceException;
}
